#pragma once

#include "HSModelAPI.h"
#include <vector>
#include "IObjectForPicker.h"

class HeightMap;

class GroundPickingOperator: public IObjectForPicker
  {
  public:
    virtual HSMODEL_API std::vector<TTriangle3> PickTriangles(const TLine3&) const override; 
    HSMODEL_API GroundPickingOperator(const HeightMap& i_map);
  private:
    const HeightMap& m_points;
  };